/*
 * @Description:
 * @Author: Rfan
 * @Date: 2022-05-31 17:47:17
 * @LastEditTime: 2022-06-01 09:19:09
 */

import { Form, Input, Select } from 'antd';

const { Option } = Select;

const VersionForm = () => {
  return (
    <>
      <Form.Item
        name="field_desc"
        label="档案类型"
        extra="由字母和数字组成"
        rules={[{ required: true }]}
      >
        <Select disabled>
          <Option value={1}>档案类型</Option>
        </Select>
      </Form.Item>
      <Form.Item
        name="field_name"
        label="版本号"
        extra="版本号为4位数字，代表生效年份。0000标识默认版本"
        rules={[{ required: true }]}
      >
        <Input allowClear />
      </Form.Item>
      <Form.Item
        label="复制创建"
        extra="从现有默认模板和已有档案库版本中挑选，复制到新建的分类版本中"
      >
        <Select disabled></Select>
      </Form.Item>
    </>
  );
};

export default VersionForm;
